package cn.tedu.ivos2.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class UserLoginVO {

        @ApiModelProperty(value = "用户id")
        private Long id;
        @ApiModelProperty(value = "用户名")
        private String username;
        @ApiModelProperty(value = "密码")
        private String password;
        @ApiModelProperty(value = "邮箱")
        private String email;
        @ApiModelProperty(value = "手机号")
        private String phone;
        @ApiModelProperty(value = "年龄")
        private Integer age;
        @ApiModelProperty(value = "性别")
        private String gender;
        @ApiModelProperty(value = "用户状态")
        private String status;
        @ApiModelProperty(value = "用户职级")
        private String level;
        @ApiModelProperty(value = "创建时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        private LocalDateTime createTime;
        @ApiModelProperty(value = "更新时间")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        private LocalDateTime updateTime;
        @ApiModelProperty(value = "上级id")
        private Long parentId;
}

